<?php

/**
 * Description of ControllerConsultaUsuario
 *
 * @author Glauco David Laicht
 */
class ControllerConsultaConfiguracao extends ControllerConsultaPadrao {

    protected function getInstancePersistencia() {
        return new PersistenciaConfiguracao();
    }

    protected function getInstanceView() {
        return new ViewConsultaConfiguracao();        
    }
    
    protected function getSqlPadraoConsulta() {
        $sSql = 'select tbconfiguracao.*,
                        tbfuncionario.funnome
                   from tbconfiguracao
                   join tbfuncionario
                     on tbfuncionario.funcodigo = tbconfiguracao.funresponsavelrh
                ' ;
        
        return $sSql;
    }
}

?>
